#pragma once
#include "stdafx.h"
#include "standard/standard.h"

using namespace std;

class STANDARD_API CThrowException
{
	
public:

     CThrowException();
     CThrowException(std::string message);
    CThrowException(std::string, int, ...);
    ~CThrowException();
    std::string getMessage();
	int getCode();
    const char* getFile();
     int getLine();
	 std::string m_message;
private:

    int m_code;    
    int m_line;
    const char* m_file;
};

#if defined(_MSC_VER)
extern "C"  __declspec(dllexport) CThrowException * GetThrowExceptionInstance();
#endif
